package com.example.demo.mapper;

import java.util.List;

import com.example.demo.pojo.Tongzhi;

public interface ITongzhiDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Tongzhi record);

    int insertSelective(Tongzhi record);

    Tongzhi selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tongzhi record);

    int updateByPrimaryKey(Tongzhi record);
    
    List<Tongzhi> selectTongzhi();

    List<Tongzhi> selectTongzhiByTitle(String title);

    List<Tongzhi> selectTongzhiByCommunity(String community);
}